package com.taxi.service;

import com.taxi.remote.ServiceClient;
import com.taxi.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: aniu
 * @Date: 2023/9/30
 * @ClassName: ServiceMapService
 * @Description: Write class functionality and purpose here.
 * @Version: 1.0
 */
@Service
public class ServiceFromMapService {
    @Autowired
    private ServiceClient serviceClient;

    //创建服务
    public Result add(String name){
        return serviceClient.add(name);
    }
}
